package com.cr.crandroid.utils;

public interface CommonConstant {

    /**
     * 角色 （admin:管理员  common:用户 ）
     */
    public static final String ROLE_CODE_ADMIN = "admin";
    public static final String ROLE_CODE_COMMON = "common";

    /**
     * 预约状态（0，待开始 1，进行中 2，已结束，3，取消）
     */
    public static final String RENT_0 = "0";
    public static final String RENT_1 = "1";
    public static final String RENT_2 = "2";
    public static final String RENT_3 = "3";


    /**
     * 是否出租(0，未出租，1，已出租)
     */
    public static final String NOT_REND = "0";
    public static final String REND = "1";

    /**
     * 审核状态（0，待审核， 1，审核中 2，通过 3，拒绝）
     */
    public static final String APPROVE_STATUS_0 = "0";
    public static final String APPROVE_STATUS_1 = "1";
    public static final String APPROVE_STATUS_2 = "2";
    public static final String APPROVE_STATUS_3 = "3";

    /**
     * 性别(0:未知，1:男，2:女)
     */
    public static final String MALE = "1";
    public static final String FEMALE = "2";

    /**
     * 申请状态文本(未申请 ,审核中,已通过,未通过)
     */
    public static final String NOT_APPROVE = "未申请";
    public static final String UNDER_REVIEW = "审核中";
    public static final String PASS = "已通过";
    public static final String NOT_PASS = "未通过";

    /**
     * url(后端连接)
     */
//    public static final String URL = "http://8.138.3.4:8081/system";
    public static final String URL = "http://192.168.20.1:8081/system";

    /**
     * 返回状态码(ERROR:失败，SUCCESS:成功)
     */
    public static final int ERROR = 20001;
    public static final int SUCCESS = 20000;
}
